﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmployeeShow.aspx.cs" Inherits="DBA.Web.SystemManage.EmployeeManage.EmployeeShow" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <script src="../../Scripts/jquery-1.7.1.js" type="text/javascript"></script>
    <script src="../../Scripts/lhgdialog/lhgdialog.js" type="text/javascript"></script>
    <script src="../../Scripts/Public.js" type="text/javascript"></script>
    <script src="/Scripts/date/WdatePicker.js" type="text/javascript"></script>
    <link href="../../Styles/CommonEdit.css" rel="stylesheet" type="text/css" />
    <link href="../../Styles/css/dropchklst.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
        var DG = frameElement.lhgDG;
        $(function () {
            Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function (sender, e) {
                if ($("#hdResult").val() == "1") {
                    Public.OpertAlert("操作成功!", true, "AspNetPager1");

                    //Public.GetParentWindow().Public.RefreshTable('spiltPager');
                    //DG.cannel();
                } else {
                    alert("操作失败,请重试!");
                }
            });

        });
        var timoutID;
        function ShowMList() {
            var divRef = document.getElementById("divCheckBoxList");
            divRef.style.display = "block";
            var divRefC = document.getElementById("divCheckBoxListClose");
            divRefC.style.display = "block";
        }

        function HideMList() {
            document.getElementById("divCheckBoxList").style.display = "none";
            document.getElementById("divCheckBoxListClose").style.display = "none";
        }

        function FindSelectedItems(sender, textBoxID) {
            var cblstTable = document.getElementById(sender.id);
            var checkBoxPrefix = sender.id + "_";
            var noOfOptions = cblstTable.rows.length;
            var selectedText = "";
            for (i = 0; i < noOfOptions; ++i) {
                if (document.getElementById(checkBoxPrefix + i).checked) {
                    if (selectedText == "")
                        selectedText = document.getElementById(checkBoxPrefix + i).parentNode.innerText;
                    else
                        selectedText = selectedText + "," + document.getElementById(checkBoxPrefix + i).parentNode.innerText;
                }
            }
            document.getElementById(textBoxID.id).value = selectedText;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div class="divTable" style="width: 600px;">
                <table id="tbRoleEdit" cellspacing="0" cellpadding="0" style="width: 100%;">
                    <tr>
                        <td class="r_left">
                            姓名：
                        </td>
                        <td>
                            <input class="in_sty " id="txtName" type="text" runat="server" style="text-align:left;"/>
                        </td>
                        <td class="r_left">
                            工资号：</td>
                        <td class="">
                            <input class="in_sty " id="txtSalaryID" type="text" runat="server" 
                                style="text-align:left;"/>
                            *</td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            密码：</td>
                        <td colspan="3" align="left">
                             <asp:TextBox class="in_sty " id="txtPwd" TextMode="Password" runat="server" 
                                style="text-align:left;"/>          
                        </td>
                    
                    </tr>
                    <tr>
                        <td class="r_left">
                            所属角色</td>
                        <td align="left" colspan="3">
                            <div ID="divCustomCheckBoxList" runat="server" 
                                onmouseout="timoutID = setTimeout('HideMList()', 750);" 
                                onmouseover="clearTimeout(timoutID);">
                                <input id="txtSelectedMLValues" type="text" readonly="readonly" onclick="ShowMList()"
                            style="width: 430px;float:left"  runat="server" />
                                <div>
                                    <div ID="divCheckBoxListClose" runat="server" class="DivClose">
                                        <label ID="lblClose" runat="server" class="LabelClose" onclick="HideMList();" 
                                            title="点击关闭">
                                        &nbsp;x&nbsp;</label>
                                    </div>
                                    <div ID="divCheckBoxList" runat="server" class="DivCheckBoxList">
                                        <asp:CheckBoxList ID="lstMultipleValues" runat="server" CssClass="CheckBoxList" 
                                            Width="250px">
                                        </asp:CheckBoxList>
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            性别：
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlSex" runat="server" Height="20px" Width="142px">
                            </asp:DropDownList>
                        </td>
                        <td class="r_left">
                            系：</td>
                        <td class="">
                            <asp:DropDownList ID="ddlXi" runat="server" Height="20px" Width="142px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            所：</td>
                        <td>
                            <asp:DropDownList ID="ddlSuo" runat="server" Height="20px" Width="142px">
                            </asp:DropDownList>
                        </td>
                        <td class="r_left">
                            部门：</td>
                        <td class="">
                            <asp:DropDownList ID="ddlDept" runat="server" Height="20px" Width="142px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            出生日期：</td>
                        <td>
                            <input class="in_sty" id="txtBirthDay" type="text" runat="server" 
                                style="text-align:left;" onfocus="WdatePicker()"/>
                        </td>
                        <td class="r_left">
                            进校时间：</td>
                        <td class="">
                            <input class="in_sty" id="txtInSchoolDate" type="text" runat="server"  onfocus="WdatePicker()"
                                style="text-align:left;"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            专业技术职务时间：</td>
                        <td>
                            <input class="in_sty " id="txtjszwzgDate" type="text" runat="server" onfocus="WdatePicker()"
                                style="text-align:left;"/>
                        </td>
                        <td class="r_left">
                            专业技术职务：</td>
                        <td class="">
                            <asp:DropDownList ID="ddlJszwzg" runat="server" Height="20px" Width="142px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            技术职务资格级别：</td>
                        <td>
                            <input class="in_sty " id="txtJszwjgClass" type="text" runat="server" 
                                style="text-align:left;"/>
                        </td>
                        <td class="r_left">
                            最后学历：</td>
                        <td class="">
                            <asp:DropDownList ID="ddlEdu" runat="server" Height="20px" Width="142px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            最后学位：</td>
                        <td>
                            <asp:DropDownList ID="ddlEduAttainments" runat="server" Height="20px" Width="142px">
                            </asp:DropDownList>
                        </td>
                        <td class="r_left">
                            行政职务：</td>
                        <td class="">
                            <asp:DropDownList ID="ddlXzzw" runat="server" Height="20px" Width="142px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            参加工作时间：</td>
                        <td>
                            <input class="in_sty" id="txtWorkTime" type="text" runat="server" 
                                style="text-align:left;" onfocus="WdatePicker()"/>
                        </td>
                        <td class="r_left">
                            参加党团时间：</td>
                        <td class="">
                            <input class="in_sty" id="txtJoinPartTime" type="text" runat="server" 
                                style="text-align:left;" onfocus="WdatePicker()"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            政治面貌：</td>
                        <td>
                            <input class="in_sty " id="txtPolitical" type="text" runat="server" 
                                style="text-align:left;"/>
                        </td>
                        <td class="r_left">
                            导师类型：</td>
                        <td class="">
                            <input class="in_sty " id="txtTeacherClass" type="text" runat="server" 
                                style="text-align:left;"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            所学专业：</td>
                        <td>
                            <input class="in_sty " id="txtSpeciality" type="text" runat="server" 
                                style="text-align:left;"/>
                        </td>
                        <td class="r_left">
                            毕业时间：</td>
                        <td class="">
                            <input class="in_sty" id="txtGraduteTime" type="text" runat="server" 
                                style="text-align:left;" onfocus="WdatePicker()" />
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            毕业学校：</td>
                        <td>
                            <input class="in_sty " id="txtGtaduteSchool" type="text" runat="server" 
                                style="text-align:left;"/>
                        </td>
                        <td class="r_left">
                            学位名称：</td>
                        <td class="">
                            <input class="in_sty " id="txtBachelor" type="text" runat="server" 
                                style="text-align:left;"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            授位时间：</td>
                        <td>
                            <input class="in_sty " id="txtBachelorTime" type="text" runat="server" 
                                style="text-align:left;" onfocus="WdatePicker()"/>
                        </td>
                        <td class="r_left">
                            研究方向：</td>
                        <td class="">
                            <input class="in_sty " id="txtReserch" type="text" runat="server" 
                                style="text-align:left;"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            国籍：</td>
                        <td>
                            <input class="in_sty " id="txtCountry" type="text" runat="server" 
                                style="text-align:left;"/>
                        </td>
                        <td class="r_left">
                            籍贯：</td>
                        <td class="">
                            <input class="in_sty " id="txtHomeTown" type="text" runat="server" 
                                style="text-align:left;"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            身份证号：</td>
                        <td>
                            <input class="in_sty " id="txtIDNumber" type="text" runat="server" 
                                style="text-align:left;"/>
                        </td>
                        <td class="r_left">
                            电话号码：</td>
                        <td class="">
                            <input class="in_sty " id="txtPhoneNum" type="text" runat="server" 
                                style="text-align:left;"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="r_left">
                            Email：</td>
                        <td>
                            <input class="in_sty " id="txtEamil" type="text" runat="server" 
                                style="text-align:left;"/>
                        </td>
                        <td class="r_left">
                            学术兼职：</td>
                        <td class="">
                            <input class="in_sty " id="txtSubjectPartTime" type="text" runat="server" 
                                style="text-align:left;"/>
                        </td>
                    </tr>
                </table>
            </div>
            <div style="display:none;">    
                <asp:LinkButton ID="lnkSave" runat="server" onclick="lnkSave_Click"></asp:LinkButton><asp:HiddenField ID="hdResult" runat="server" /></div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:HiddenField ID="hidID" runat="server" />
   
    </form>
</body>
</html>

